Say I have the function $f(x_1,x_2)=x_1+x_2$ and I want to use vector notation.
Q1:
I set $\mathbf x=x_1\hat e_1+x_2\hat e_2=(x_1,x_2)$, so $f(x_1,x_2)=f(\mathbf x)$ and I now have $f(\mathbf x)=x_1+x_2$. I guess this is correct?
Q2
But should I write $$ f(\mathbf x)=x_1+x_2, \quad x_1,x_2\in \mathbb R^2 \quad \tag 1 $$ or $$ f(\mathbf x)=x_1+x_2, \quad (x_1,x_2)\in \mathbb R^2 \quad \tag 2 $$
As long as your point gets across with no confusion, any notation is just fine.
For example, technically speaking, for $f:\mathbb R^2\to\mathbb R$, we should, following strict notation, be writing $f((x_1,x_2))$, but we commonly shorten that to $f(x_1,x_2)$.
That said, I would say you can either write
because that means that the tuple $(x_1,x_2)$ is an element of $\mathbb R^2$ (and, implicitly, that the two elements of the tuple are elements of $\mathbb R$)
or you could write
as that means "both $x_1$ and $x_2$ are elements of $\mathbb R$ (and, therefore, the tuple $(x_1,x_2)$ is an element of $\mathbb R^2$).
I would say that $x_1,x_2\in\mathbb R^2$ is awkward notation that is not standard for what you are trying to say and can therefore introduce confusion.