Coastal communities are racing to preserve towering underwater forests before a looming heatwave threatens to wipe them out for good.