Now that the mild ambiguity is resolved, let's address the question.
We begin by showing maximality. Consider a non-trivial prime ideal, $\mathfrak{p}$ of $R$. If $x\not\in\mathfrak{p}$ is fixed, then considering the $\mod \mathfrak{p}$ reductions of $1, x,\ldots, x^{\dim_K(R)}=x^m$ we have a linear dependence by finite dimensionality of $R$. And since $R/\mathfrak{p}$ is an integral domain, we know that this algebraic relation
$$c_0+c_1x+\ldots +c_mx^m$$
has $c_0\ne 0$, otherwise $\overline{x}\in R/\mathfrak{p}$ would be a zero divisor, so that the reduction, $\overline{1}\in R/\mathfrak{p}$ satisfies
$$\overline{1}=c_0^{-1}(-c_m\overline{x}^m-\ldots-c_1\overline{x})$$
verifying the existence of an inverse for $x\mod \mathfrak{p}$, since
$$\overline{1}=\overline{x}\cdot\bigg(-c_0^{-1}(c_m\overline{x}^{m-1}+c_{m-1}\overline{x}^{m-2}+\ldots + c_2\overline{x}+c_1)\bigg)$$
If there are no more than $\dim_K(R)$ prime ideals we are done, so assume otherwise. Then we take a collection, $\{\mathfrak{p}_1,\ldots,\mathfrak{p}_n\}$, of $n=\dim_K(R)+1$ distinct prime ideals of $R$. Since all prime ideals are maximal, $\mathfrak{p}_i+\mathfrak{p}_j=R$ when $i\ne j$. Then by the CRT we can find $x_1,\ldots, x_n$ such that
$$x_k\equiv\delta_{ik} \mod \mathfrak{p}_i,\quad 1\le k\le n$$
Necessarily the $x_i$ span the quotient $K$-algebra
$$R/(\mathfrak{p}_1\cdot\ldots\cdot\mathfrak{p}_n)\cong R/\mathfrak{p}_1\oplus\ldots\oplus R/\mathfrak{p}_n$$
treated as a vector space, which is of dimension at least $\dim_K(R)+1$, implying there is a surjective $K$-algebra homomorphism from $K^m\to K^{M}$ for some $m<M$. However algebra homomorphisms are also linear maps, which means we have a vector space of lower dimension surjecting onto one of higher dimension. Hence there are at most $\dim_K(R)$ prime ideals, i.e. finitely many.
Remarks
($1$)In fact any such system of congruences over the finitely many prime ideals has $\gcd(\{x_i\})=1$, i.e. the $x_i$ are coprime.
($2$) Really we could have stopped after solving the system of congruences, as it already implies that the $x_i$ are linearly independent over $K$. To see this we can assume, WLOG, that
$$x_1=\sum_{i=1}^{\dim_K(R)+1}r_ix_i$$
Then $x_1\in \left(x_2,\ldots, x_{\dim_K(R)+1}\right)$, since the latter is an algebra ideal, a contradiction to the congruences.