School officials promised “severe disciplinary consequences” for the person responsible for drawing a swastika discovered on the wall of a boy’s bathroom at Hingham High School on Thursday.