Thank you for your response!
The TV can connect via both Wi-Fi and LAN. However, we are using Wi-Fi for Miracast services, so we can consider it connected over Wi-Fi.
During Miracast usage, both the laptop and TV are connected via Wi-Fi, though they might be on different SSIDs.
The "Deny Local LAN" option is enabled because I want to block the guest SSID from accessing our internal LAN.
The setup flow is: AP → Switch → MX.
When I project the laptop screen onto the TV, a virtual Wi-Fi Direct adapter is created with an IP range of 192.168.xx.
Out of 10 attempts, the same setup works about 7 times, but it operates in an ad hoc manner.