libwinpr-wtsapi: make use of static function table