Canadian Finance Minister Chrystia Freeland resigned from Prime Minister Justin Trudeau’s cabinet because of differences over how to prepare for the Trump administration, a stunning move that shakes the government.