[SYCL][Test] Fix stack-use-after-scope in graph destruction_callback test (#22315)
Hoist the LvalueCopied/LvalueMoved/RvalueCopied/RvalueMoved flags out of
the inner block so they outlive the command_graph. The graph inside the
block, its destruction callbacks copy the stored CopyMoveTracker
arguments, and that copy constructor writes through the tracker's flag
pointers. With the flags as inner-scope locals, those writes hit memory
whose lifetime has already ended, which causes a stack-use-after-scope
problem.