xfreerdp-client: improved xf_input handling