A childcare worker has been released from custody after allegedly slapping two young children across the face at a Sydney centre.