The JCMT Gould Belt Survey: evidence for radiative heating in Serpens MWC 297 and its influence on local star formation