There’s no “one click” way to do this, but you can do it in a few simple steps:
Do File > Save As to save a copy of your project under a new name, so you don’t risk overwriting the one that contains all the playback data you want to retain.
Choose Play > Playback Template and apply the HSSE (SE) playback template, which will eliminate key switches and any automatic MIDI CC values.
Choose Play > Automation > Remove All Automation to remove any MIDI CC data you’ve recorded or added.