Man charged with slapping toddler now out of a job