Teacher booked for alleged corporal punishment