Cornell president’s leaked criticism of Gaza class prompts new row over academic freedom