these ships can't use the Suez canal in peace-time under the currently negotiated treaties. if they really truly must go through the canal, who's gonna stop them?
Seems to me that canals make rather sitting targets for warships, at war time at least.
Yes. A carrier group is able to project military power for a great distance around itself. Long range missiles, submarines, aircraft, you name it. Presumably it would monitor the canal along its entire length, and destroy anything that approaches by land or sea before it is able to create or become an obstacle.
Here's an interesting lesson from WW2 which shows the danger of previously unknown coastal torpedo batteries: https://en.wikipedia.org/wiki/Battle_of_Drøbak_Sound
See the Yellow Fleet, trapped in the Suez Canal for 8 years.