Constraining dark energy anisotropic stress