Isn't there a mrt train which goes to the night safari? if that's the case, i'd probably leave no later than 9:30pm, the last train leaves the airport at 11:15pm to boon lay.
i personally think the train is reasonably quick, give yourself 45 mins to get to the airport?
train arrives in terminal 2.