OpenXR doesn’t allow applications to access the HMD name to discourage from writing code that depends on specific HMDs.
You can access the current interaction profile name for each controller from the Get Motion Controller Data node though. Note that this only works once the runtime has assigned bindings for the actions which many take a few frames and the the application being in focus.