There's already a hotkey that you can bind for cancelling casts.