Quebec’s election looked like a foregone conclusion. Then, the trade war hit, and turned the race on its head.