This is not completely possible. The page reference is currently not something private in XWiki, and there’s no way to fully hide it. Said differently, what is controlled by rights is the page content and metadata, but not its reference.
I’m not sure what you mean by “hiding”. If you mean marking a document as hidden, then a user can decide to show hidden pages. Ofc, if you mean, just hide from the guest user, then since that user doesn’t have a profile, there’s currently no way for a guest to show hidden pages AFAIK so that could work for this special use case of guest.
Thanks