$\textbf{Case 1.}$ Assume that $\rho(X)<1$. $X$ is the weight matrix of a graph $\Gamma$.
Then there is a norm s.t. $||X^T||<1$.
Thus $(I-X^T)^{-1}\circ X=(I+X^T+{X^T}^2+\cdots)\circ X=I\circ X+X^T\circ X+{X^T}^2\circ X+\cdots=0$.
Since the considered matrices are $\geq 0$, $0=X^T\circ X={X^T}^2\circ X=\cdots$.
$(X^T\circ X)_{i,j}=x_{j,i}x_{i,j}=0$ and $\Gamma$ has no circuit of length $\leq 2$.
For every $i$, $({X^T}^2\circ X)_{i,j}=\sum_k x_{k,i}x_{j,k}x_{i,j}=0$ (*) and $\sum_{k,i}x_{j,k}x_{k,i}x_{i,j}=0$.
Thus $\Gamma$ has no circuit of length $3$ and so on...
Finally, there is no circuit at all, $\Gamma$ is acyclic and $X^n=0$.
$\textbf{Remark.}$ (*) can be rewritten: for every $(i,j,k)$, $x_{j,k}x_{k,i}x_{i,j}=0$ -and similar relations of length $4,5,\cdots$-. To find the solutions reduces to find the entries of $X$ that necessarily are $0$ -the other ones being free-. We find exactly $n!$ such patterns and, of course, we may choose (despite the hypothesis $\rho(X) <1$) any values for the free entries of $X$.
$\textbf{Case 2.}$ It remains the case $\rho(X)\geq 1$, that is equivalent to $X$ admits an eigenvalue $\geq 1$. Let $E=\{X;x_{i,i}=0,x_{i,j}\geq 0,1\notin spectrum(X)\}$. We shew that, when $X$ goes through an open subset of $E$, the algebraic equations $(I-X^T)^{-1}\circ X=0$ implies the algebraic equations $trace(X^i)=0$. I think that we can extend the implication when $X$ goes through whole $E$. Yet, to work on the real algebraic sets is more difficult than to work on the complex ones...
$\bullet$ Unfortunately, $E$ is not a connected set.