HPCC-8877 Show WU state on Activity page

For queued workunits, existing code does not show actual state on
the Activity page. This fix displays the actual state for those
workunits on the Activity page.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>