[webgpu] a few optimizations to graph capture implementation (#25305)
### Description
1. rename `SessionState` to `GraphCaptureState`, since there is already
one SessionState type in ORT.
2. optimize implementation of `ComputeContext::BufferManager()`
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>