Mr. Carney is hoping to capitalise on a remarkable recovery by his Liberal party after Mr. Trump began threatening Canada and former Prime Minister Justin Trudeau announced his resignation.