[SYCL][XPTI] Make `edge_create` instrumentation conditional on subscriber (#21400)
Only emit `edge_create` events when there is an actual subscriber to
this event type. This optimization avoids the overhead of creating
dependency edge information when no tool consumes it.