Canada's next PM, who described the US as a "country we can no longer trust", will need to work with the US president.