Thousands flee New Mexico wildfire