Mark Carney, the former central banker who was seeking elected office for the first time, was set to lead the Liberals to victory Monday in an election that was upended by Donald Trump’s trade war and musings about annexation amid persistent concerns about spiraling cost-of-living.