Patients dialling 999 in a heatwave could have to wait for temperatures to drop before an ambulance arrives under union plans to stop crews working in hot weather