A former student is suing the state of NSW over an allegedly abusive teacher at a prominent Sydney school.