Update the documentation build system
- Exclude Sphinx version 7.2.5 as it breaks our Python documentation (see https://github.com/numpy/numpy/issues/24604).
- Replace recommonmark with MyST (which removes the need for the sphinx-markdown-tables extension which never worked properly) and add the sphinx-design module to the documentation build system.