Tensor cumulants for statistical inference on invariant distributions