Add ability for EP to get vendor ID and device ID from OrtMemoryDevice (#25222)
### Description
<!-- Describe your changes. -->
EP implementations need to be able to read vendor id and device id to
implement OrtDataTransferImpl::CanCopy correctly.
### 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. -->