core:window_sdl2 fix `wW` duplication of chars when using shift,

make sure exit_on_escape works. Closes #2622