An overdetermined problem for the anisotropic capacity