Thousands ordered to flee advancing wildfires in Quebec