A summer heatwave threatens to bring the railway to a halt as the iconic steam engines are prevented from running through a tinder-dry national park.