fixed shutdown of input thread in xfreerdp

xf_input_thread isn't checking for messages on the input message queue and doesn't exit if WMQ_QUIT is posted. That means, client hangs when disconnecting if you're using async input.
However, I think it was already fixed in #1868 (thanks to @akallabeth!), seems like it got lost somehow ...