I believe the answer might involve some periodicity argument, but I am unable to make one work. Any insights are appreciated!
This integral is motivated by the second part of the question from this post: Conformal map from unit disk to polygon
Following User's advice, I have $$\int_0^{2\pi}\sin^2(n\theta/2)^{-1/n}\ d\theta=n\int_0^{2\pi/n}\sin^2(n\theta/2)^{-1/n}\ d\theta$$ Then I make the substitution $\varphi=n\theta/2$ with $d\varphi=n/2\ d\theta$ to get $$\int_0^{2\pi}\sin^2(n\theta/2)^{-1/n}\ d\theta=n\cdot\frac{2}{n}\int_0^{\pi}\sin^2(\varphi)^{-1/n}\ d\varphi=2\int_0^{\pi}\sin^2(\varphi)^{-1/n}\ d\varphi.$$ Thus, $$\int_0^{\pi}\sin^2(n\theta/2)^{-1/n}\ d\theta=\frac{1}{2}\left(2\int_0^{\pi}\sin^2(\varphi)^{-1/n}\ d\varphi\right)=\int_0^{\pi}\sin^2(\varphi)^{-1/n}\ d\varphi$$ as I wished to show. Thanks for the help!