Say that $X:M \to \mathbb R^3$ is an isometric immersion of an oriented riemannian surface (oriented $2$ dimensional riemannian manifold). I understand there holds a vector-valued equation, namely
$$ \Delta X = 2HN, $$
where $H$ is the mean curvature (half the trace of the second fundamental form) and $N$ is the outward unit normal to $X(M)$. I've been unable to find a reference, however.
I would appreciate a reference or an indication of how to compute this formula.
One reference is Pseudo-Riemannian Geometry and Delta Invariants by Bang-Yen Chen. On page 41, the so-called formula of Beltrami is derived for any immersion $\mathbf{x}\colon M \to E^m_s$ of a pseudo-Riemannian $n$-manifold into the pseudo-Euclidean space.
I will give the calculations for your specific situation.
Proof. Let $v$ be an arbitrary vector in $\mathbb{E}^3$ and $p\in M$. If $\{e_1,e_2\}$ is an orthonormal basis of $T_p M$, we can extend $e_1, e_2$ to an orthonormal frame $E_1,E_2$ such that $$ \nabla_{E_i} E_j = 0 \quad \text{at $p$ for $i,j=1,2$,} $$ where $\nabla$ is the Levi-Civita connection of $M$. Then at $p$ we have $$ \begin{align*} (\Delta \langle \mathbf{x},v\rangle)_p &= \sum_{i=1}^2 e_i\langle E_i,v\rangle = \sum_{i=1}^2 \langle D_{e_i}E_i,v\rangle \\ &= \sum_{i=1}^2 \langle h(e_i,e_i),v\rangle = 2 \langle H,v\rangle(p). \end{align*} $$ The $D$ stands for the Levi-Civita on $\mathbb{E}^3$. Since both $\Delta x$ and $H$ are independent of the choice of local basis, we have $\langle\Delta x, v\rangle = n \langle H,v \rangle$ for any $v$. Since $v$ was arbitrary and the inner product is non-degenerate, the formula of Beltrami follows.
I also want to mention that your question is related to this recently asked question.