input: don't crash if the internal handle is nullptr (wheelEvent)

Apply the same fix as 4d9a0d23 to wheelEvent

Merge request reports

Loading