There was a working, officially supported Miracast app on the Xbox One for a while and I used that for a screen extender of a Windows 10 Phone and a laptop for a few years before the app stopped working. I think it stopped working only because no one was using it.