server: Fix handling of KEYEVENTF_UNICODE inputs with a non-zero vkey.
The first commit is an adaptation of rbernon/wine@8af64a92, removing the parts that could potentially lead to functional changes.
The second commit leverages the new design to provide the fix for the unicode_vkey
input test.