[guided]The bridge from "vector-field" involutivity to a condition on the 1-forms $\theta_i$ is Cartan's formula, which expresses the exterior derivative of a 1-form $\theta$ in terms of Lie-theoretic data:
\begin{align*}
d\theta(X, Y) = X\theta(Y) - Y\theta(X) - \theta([X, Y]).
\end{align*}
Why is this the right tool? Involutivity is about brackets, while $d$ is about antisymmetric derivation. Cartan's formula relates the two, and the exchange becomes very clean when $\theta$ annihilates both $X$ and $Y$.
Specifically, take $\theta = \theta_i$ with $i \le m$ and $X, Y \in \Gamma(V)$. By definition of $V$, $\theta_i(X) = \theta_i(Y) = 0$, so $X\theta_i(Y) = X(0) = 0$ and likewise for the middle term. The formula collapses to
\begin{align*}
d\theta_i(X, Y) = -\theta_i([X, Y]).
\end{align*}
The right side vanishes iff $[X, Y]$ is annihilated by $\theta_i$, and "annihilated by every $\theta_i$, $i \le m$" is exactly the membership condition for $V$. Ranging over all $i \le m$ gives $[X, Y] \in V$ iff $d\theta_i(X, Y) = 0$ for all $i \le m$.
To turn this pointwise condition into a finite test, use that $V$ is spanned locally by the dual vector fields $\vartheta_{m+1}, \ldots, \vartheta_n$. Since $d\theta_i$ is $C^\infty(W)$-bilinear on vector fields (it is an element of $\Omega^2$), vanishing on all of $\Gamma(V) \times \Gamma(V)$ is equivalent to vanishing on basis pairs $(\vartheta_j, \vartheta_k)$ with $m < j < k \le n$. Hence:
\begin{align*}
V \text{ involutive} \iff d\theta_i(\vartheta_j, \vartheta_k) = 0 \text{ for all } 1 \le i \le m, \; m < j < k \le n.
\end{align*}[/guided]