Align hardware ID parsing with DXCore representation (#24682)
### Description
Modified the `get_id` lambda to parse 4-character hardware ID components
(e.g., from VEN_xxxx or DEV_yyyy) by converting the ASCII string
representation directly to a uint32_t using `WStringToUint32Id`.
This replaces the previous hexadecimal string-to-integer conversion and
aligns with how DXCore reports these vendor and device IDs, ensuring
consistent ID interpretation.
### Motivation and Context
Before this change, we were assuming the hardware ID components were
hexadecimal strings and converting them to integers. This assumption is
incorrect and was leading to incorrect interpretations of the vendor and
device IDs.
Down the line when we compare the vendor and device id with the ids we
receive from DXCORE, there are no matches, and we fail to copy the
information collected in `GetDeviceInfoSetupApi`.
### Testing
Tested with all the sample apps and stepped through the code to verify
the Vendor and Device IDs match the IDs from DXCORE on both Qualcomm and
AMD.
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>