Hello, thank you for reaching out to Microsoft Q&A.
Go to Start > Settings > System > Optional Features > View features.
Select the 'See available features' option and install the Wireless display feature.
To check if the feature is already added, click on See added features option.
If the feature is still missing, manually add it using Command Prompt.
Run the command as Administrator.
DISM /Online /Add-Capability /CapabilityName:App.WirelessDisplay.Connect~~~~0.0.1.0
This should install the WirelessDisplay feature on your device.
Let me know if you still need more help.