[NFC][HLSL] Let `RootSignatureParser` own the references (#150310)
- this is a clean up from a review comment that we should let the parser
own the constructed `RootSignatureElement`s
Original comment here:
https://github.com/llvm/llvm-project/pull/147115#discussion_r2192999527.