In a federal lawsuit, the lecturer, Melissa McCoul, accused the university of violating the First Amendment.