Please explain to me , why knowing more about the student, could you condone hitting the student?
Assault is assault, there is nothing grey about that, it a criminal act.
Teachers are in a position of trust, and there to protect and teach, not to assault.