effect: Refuse starting quick effect if keyboard cannot be grabbed
If effects->grabKeyboard() fails and effects->ungrabKeyboard() is called later, kwin will crash due to an assert in the ungrabKeyboard() function.
This matters only on X11.
(cherry picked from commit 95611189)
Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org