The University of Toronto has attracted several U.S. professors amid turmoil between American higher-education institutions and the Trump administration.