ui: Clean up Wattson dependencies

Include the Perfetto module needed to run the Wattson aggregation
without assuming that the module was already included.

Bug: 329507878
Change-Id: I51ac7e78fb39bbab62e7ea56225118996e10073e
Signed-off-by: Samuel Wu <wusamuel@google.com>
diff --git a/ui/src/controller/aggregation/wattson/thread_aggregation_controller.ts b/ui/src/controller/aggregation/wattson/thread_aggregation_controller.ts
index 0f0a22c..ae92e55 100644
--- a/ui/src/controller/aggregation/wattson/thread_aggregation_controller.ts
+++ b/ui/src/controller/aggregation/wattson/thread_aggregation_controller.ts
@@ -43,6 +43,7 @@
     const duration = area.end - area.start;
     engine.query(`
       INCLUDE PERFETTO MODULE viz.summary.threads_w_processes;
+      INCLUDE PERFETTO MODULE wattson.curves.ungrouped;
 
       CREATE OR REPLACE PERFETTO TABLE _ui_selection_window AS
       SELECT