A number of horse racing events have been cancelled in WA as parts of the state swelter through a severe heatwave.