Teachers were fired and doxxed amid the threat of investigations from the state, the lawsuit claims