[VitisAI] fix graph_save dump unsorted Model (#24678)
### Description
When calling graph_save, a model with unsorted nodes will be saved, which will cause errors when using the model later.
### Motivation and Context
The resolve function is called in the graph_save process, which causes the nodes to be sorted.
Co-authored-by: genmingz <genmingz@amd.com>