A London primary school teacher has claimed they were dismissed after a pupil misunderstood a joke about 'whacking' them