I don’t have an XBox but I would think that if it’s hidden in your Microsoft account then it’d also be hidden on the XBox.
I’ve found a couple of links about hiding purchases:
https://www.gamefaqs.com/boards/691088-xbox-one...
https://xbox.uservoice.com/forums/253802-home-x...
If that doesn’t work then I’m sure one of the other volunteers on here who have that game console will be able to help you.