On the discrete Wigner function for $\mathrm{SU(N)}$