Least energy sign-changing solution to a fractional $p$-Laplacian problem involving singularities