US President Donald Trump and Prime Minister Mark Carney spoke after Canada’s general election.