Correction: Xbox absolutely does support wireless keyboards and mice - as long as they connect via USB receivers (they would be interpreted as wired keyboards by the operating system).
The same goes for PS5 - wireless keyboards and mice only work via USB receivers. Bluetooth keyboards and mice...