Hundreds of residents have been evacuated from a regional Queensland town as a heatwave fuels an out-of-control bushfire.