I think there’s a solution that fits within the Apple Design culture that they already use. If you’re connected to a display you can already click the “AirPlay” icon to change the audio output location. (Eg I’m connected to a display via usbc cable but want the audio to go to a Bluetooth device or headphones)
So, just let me select the app that gets the display output. And make “share screen” a discrete choice.