Thank you for your patience.
After creation of visual query and saving it as a view and before going to the Model tab kindly ensure to refresh the page for visibility of view created.
We have replicated the scenario from our end and were successful in creating the relationship between table and query.
Kindly check the below attachments for step-by-step process for your reference.
Step 1: To Create the View:
Step 2: Created as Visualquery1:
Note: Before going to Model tab, kindly refresh the page.
Step 3: We can see all the listed tables and views in Model tab:
Step 4: Create the relationship between table and view:
If the information is helpful, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post.
If you are still running into issues, kindly attach the screenshots for reference and please let us know in the comments. We are glad to help you.
(NOTE: Please conceal all your privacy details before posting).
Thank you.