xrdp-ng: make use of split encode/write rfx api