Scope telemetry flush loop to service lifecycle
- Replace detached flush worker with scoped fiber in `AnalyticsService` - Ensure periodic analytics flushing is tied to layer lifetime/cleanup
- Replace detached flush worker with scoped fiber in `AnalyticsService` - Ensure periodic analytics flushing is tied to layer lifetime/cleanup