Bystanders sprang into action to save the child, with a mob kicking, punching, and eventually pepper spraying the man in an effort to stop him