KRunner: Handle escape key in history view more gracefully
Instead of adding an unprintable character to the UI the history view is closed and the text field it focused.
To prevent unprintable characters like backspace a regex is used, just like we already do in the ResultsView Keys.onPressed slot.
BUG: 433723
FIXED-IN: 5.21.2