A bushfire has forced hundreds of people to flee homes in Queensland's southwest amid fears it could worsen due to heatwave conditions.