The domain and the accounts
ICANN's page on registrant responsibilities says the person who registers a domain must give accurate contact information, keep it up to date, answer the registrar within fifteen days when asked, and will assume sole responsibility for the registration and use of the name. So the first question is whose name is on the registration. If a designer registered it under their own name, they are the one on record, and you may have to ask them for it later.
Cloudflare notes that its registrar redacts personal contact details from the public record by default, so the public lookup may not show you the name on file. Ask for it directly: the registrar's name, and an account in your name with your email on it. Do the same for hosting. The account that holds your site should be yours, or you should have it written down how you get it.
Content, photos and copyright
The Copyright Office says that once you fix an original work, you are the author and the owner, that works made by an employee within the scope of employment belong to the employer, and that ownership can also come from contracts like assignments. The Copyright Act, as the Office publishes it, says that for a work made for hire the person it was prepared for is considered the author, and that a transfer of copyright is not valid unless it is in a writing signed by the owner. The Act's definition of a work made for hire covers an employee's work, and a specially commissioned work only in nine listed kinds, where both sides sign a written agreement that says so.
I am not a lawyer, and this is not legal advice. What it suggests is that a handshake may not settle who holds the copyright in a design, and that a written agreement is what counts. Where it matters to you, ask a lawyer to read the contract. Photos and writing are their own question. Ask whether your pictures were taken by you, bought, or licensed, and whether you may keep using them if you leave.
When the site lives on a builder
Wix's help center says its site must run on Wix's servers, and that its architecture does not support using another host for a Wix site. It does let you connect a domain bought elsewhere. Squarespace's help page lists what exports, such as pages, one blog and its posts, and text and image blocks. It says style settings and custom CSS are not included, and neither are product, video and audio blocks.
Both mean the design stays behind if you move. Keep your own copy of every word and picture, and keep the domain in your own registrar account so you can point it anywhere.
A checklist before you sign
One: the domain is registered in your name, with your email, at an account you can reach. Two: the hosting account is yours, or the contract says how you get it. Three: you receive a copy of your words and pictures at launch. Four: the contract says who holds the copyright in the design, and whether you may change it yourself. Five: it says what you receive if you leave, such as the files and the site's source. Six: it says what a monthly plan covers and how to stop it.
On the sites I build, the answer is set before we start. You own your domain, your content and your data. Anything more is written in your quote.
Questions owners ask
If I pay for the site, do I own the copyright in it?
Paying is not what the Copyright Act points to. It says a transfer of copyright needs a signed writing, and it treats a work made for hire in a particular way. Read what your contract says, and ask a lawyer if it matters. This is not legal advice.
My designer bought my domain. Is it mine?
On record, it is whoever is listed as the registrant at the registrar. ICANN says the person registering assumes sole responsibility for the name. Ask your designer to move it to an account in your name, or to name you as the registrant.
Can I take a Wix site to another host?
Wix's help center says a Wix site has to run on Wix's servers. You can connect a domain you bought elsewhere. To move the site itself, expect to rebuild it and carry over your words and pictures.