Chrystia Freeland had also been the figurehead of Canada’s controversial digital services tax adoption, which stoked economic tensions with the US