wfreerdp: split client into library and executable