Why aren't these two integrals $$\int_{-1}^{1}\frac{1}{\left(1+x^2\right)^2}\,\mathrm{d}x$$ and $$\int_{-1}^{1}\frac{-t^2}{\left(1+t^2\right)^2}\,\mathrm{d}t$$ equal to each other, despite using the substitution $x=\frac{1}{t}$, which yields the second integral when the substitution is used on the first one?
Could it be that $t$ is undefined at $x=0$ since the limits are from $-1$ to $1$?
The substitution is not defined for $x=0$ or at $t=0$. So in fact if you make the substitution, what you have is
$$\begin{align} \int_{-1}^1{1\over(1+x^2)^2}dx&=\int_{-1}^0{1\over(1+x^2)^2}dx+\int_0^1{1\over(1+x^2)^2}dx\\ &=\int_{-1}^{-\infty}{-t^2\over(1+t^2)^2}dt+\int_\infty^1{-t^2\over(1+t^2)^2}dt\\ &=\int_{-\infty}^{-1}{t^2\over(1+t^2)^2}dt+\int_1^{\infty}{t^2\over(1+t^2)^2}dt \end{align}$$
(And as J.G. points out, the symmetry of the integrand allows you to reduce to just one integral, from $1$ to $\infty$.)