HPCC-10080 Add Activated flag to WUListQueries response

Add Activated flag to WUListQueries response for each
individual query.

Also fix a bug: the Activated flag should be read using @id,
not @name.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Merge pull request #4875 from wangkx/h10080

HPCC-10080 Add Activated flag to WUListQueries response

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>