Mark Carney’s liberals win minority government as US-Canada relations shift