Man accused of hitting toddler girl