Fix mouse wheel support for SDL2

SDL 1.2 sends a SDL_MOUSEBUTTONDOWN event when the mouse wheel is used, then immediately sends a corresponding SDL_MOUSEBUTTONUP event. SDL2 has proper mouse wheel support that isn't key based, so we need to send the key up events ourselves.