xrdp-ng: simplify server callback interface