The Pohozaev identity for the anisotropic $p$-Laplacian and estimates of the torsion function