Poll controllers on a separate thread on Windows.

This means controllers will sample more than the game fps, and will work
whenever keyboards do.
Merge pull request #5706 from unknownbrackets/win-input

Poll controllers on a separate thread on Windows