Trump’s trade war and annexation threats outraged Canadians and made dealing with the United States a top campaign issue.