[SYCL][Graph] Add e2e test for released events in native recording (#23038)
This PR adds a test that SYCL events may be destroyed during native
recording without interfering with the recorded state.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>