I would recommend using Vesktop instead of the official client - it’s faster, has better privacy, and best of all, screensharing including audio works like a charm.
You could run your games thru gamescope - and as a bonus, you can use features like FSR for better quality or performance.