input: Do not commit text from key events on non-grabbing input methods
aa8c5577 removed the requimrent to commit pending text if a grabbed key is ignored.
When the input method is non-grabbing we should behave the same and not commit for the same rationale
Practically any input methods setting preedit text are grabbing so it's all a hypothetical.