If you have configure the P2.2 as a digital input, then you have the option to configure the interrupt as rising edge. You can do so in the GUI of cy_pins-> input tab-> interrupt dropdown to select. The interrupt will be read in the stop mode to wakeup the device, but if you are not in stop mode, then you will have to write your own function to read the interrupt and call the isr. I hope this helps!
Thanks Nishant. After some going around, i found the solution as u suggested. :)