To show a second Mac display on Vision Pro, you need to install the Splitscreen app on macOS as well as on visionOS.
Download Mac app