Riemann–Hilbert Problems, Matrix Orthogonal Polynomials and Discrete Matrix Equations with Singularity Confinement