The problem can be solved using the following method: Let $C_N$ be the circle centered at the origin of radius $R_N = N + 1/2$, where $N$ is an integer and $N \geq \vert \alpha \vert$. Use the residue theorem to show that
$$\frac{1}{2 \pi i}\int_{C_N} \frac{\pi \cot \pi z}{(z + \alpha)^2} = \sum_{k = -N}^{N}\frac{1}{(k + \alpha)^2} - \frac{\pi^2}{\sin^2\pi\alpha}.$$
The result then follows once you prove that the limit as $N \to \infty$ of the integral is $0$. This is just a matter of applying the usual estimate in terms of of curve length for complex line integrals (the tricky part is bounding $\cot \pi z$ on $C_N)$.
Note that you also need the hypothesis that $\alpha$ is not an integer.