Short answer, you don’t. It isn’t implemented in Citra. If you wish to use StreetPass, you’ll need to transfer your save back to your 3DS using Checkpoint.
I’m not a dev, so I wouldn’t even know where to start.
If you want, you can check the GitHub if a feature request is already open for it. But I’m 90% sure it will already be open.