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>