dinput: Forbid acquiring for other process windows and hook foreground window threads.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54431
Some out-of-tree tests seem to show that acquiring other process windows is not allowed, although hard to test that without opening the SetForegroundWindow pandora's box.