A state of emergency has been declared for five counties in New Mexico as several large wildfires burn across the state.