This is entirely misleading. Firstly, there's no "querying" of a display.. if the display has power, is set to the correct input and is connected to the Mac.. that's ALL that's to it. The Mac generates a signal and sends that signal to the display.
Yes, certainly there's some metadata (if we keep it simple and call it that) which the display returns to define maximum resolution and whether it's HDR compatible etc.. but at no point does the screen turn around and say "Hey, I'm awake, send me a signal" just because it's in sleep mode unless it's just powering on for the first time.
The reason the display is in sleep mode is because the Mac stopped sending the signal, due to various reasons. Disconnection or the Mac went to sleep. When the Mac wakes up, the Mac sends the wake signal to the display, as the signal is sent from the Mac via the cable to the display. It's been this way forever and nothing in display technology changes this basic functionality for decades.
The issue that the original poster is highlighting here, is one that has been present in various macOS version since the release of Apple Silicon Macs. I personally invested in 3 brand new displays after having this issue with some older Dell 2412M displays, all functioned perfectly on a Mac Pro but started randomly not waking from sleep when moving to my Mac Mini M2 Pro.
The new screens I purchased were all released in 2023, all identical 1440p SE2723DS and fully compatible with the latest standards, as well as high quality cables. Immediately after buying those 3 displays, I continued to have issues under macOS Ventura. I even posted about it on the MacOS reddit community, as pictured below.

When we went to Sonoma, the issue was resolved across ALL displays, including the older 2412M displays. Unfortunately, as of 15.1, this issue has re-emerged, with at least 1 display randomly not waking from sleep.
All logical people here would determine that if the hardware hasn't changed, if the setup hasn't changed but the only thing to have changed is the software, then the most likely issue here is with the software, not the hardware.
Discussions about cable lengths, quality of cables, sleep and power states are irrelevant, if everything that wasn't working before, was fixed via software updates and then subsequently broken again by a later software update.
Displays are not rocket science. At a basic level they are "Have signal? = Display signal".. If macOS forgets a screen is connected because it forgets to send a signal to the USB-C connection where the display was connected just 15 minutes ago, then that's entirely a macOS problem.
Frankly, I'm very frustrated that this issue has re-emerged. I have to unplug and plug the display back into the back of the Mac Mini in order to regain signal. I also seem to have noticed that USB SSD drives are randomly ejecting at times and will refuse to re-mount using the same USB-A port until switched to another port.. again, since 15.1.
Sorry if I came across a bit strong, but people will read your post and take it at face value based on your various contributions to this community.
There's no excuse for something to stop working which has worked fine before.. unless something is broken. In this case, it's not the display or cables.