xfreerdp-client: refactor xf_input
xfreerdp-client: add new sources for xf_input