Tweak external resource importer handle structs (#27040)
### Description
<!-- Describe your changes. -->
Use the descriptor struct in the external resource handle.
We were copying most fields, but the setup is a little more intuitive
when the descriptor is used directly.
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->