A rapidly spreading wildfire has led to the evacuation of more than 10,000 people in southwestern France.