A childcare worker has been released from custody after allegedly slapping two sleeping pre-schoolers at a Sydney centre.