A childcare worker who allegedly slapped two sleeping preschool children at a Sydney center has been released from custody.