Now dolfinx is running fine. The error you are seeing is because you are using WSL, and by default WSL has no way of displaying anything on your screen (except for the terminal). What you need to do is install a X server on windows (not WSL) and configure your linux session inside WSL to be aware of that X server. You can do that by following the instructions I gave on this post.
As for the MPI error, maybe it’s related to the display error, but I’m not sure. Try fixing the display error first.