[TensorRT EP] Fix wrong input order when generating IndexedSubGraph (#22857)
The input order of generated indexedSubGraph needs to be consistent with
the input order of original graph.
This PR will also fix the github issue
https://github.com/microsoft/onnxruntime/issues/22729