I *think* this will fix the test timeouts that happen on Gitlab since https://gitlab.winehq.org/wine/wine/-/merge_requests/5262.
I'm not completely sure that it will, because the failure is very elusive and somehow only happening on Gitlab CI, but there's a logic behind it: we were previously enumerating monitors from the adapters we found, so every monitor enumerated had a matching adapter. We are now enumerating monitors directly, and matching their adapter next.
How we then end up with a monitor without a matching adapter is still unclear, but I think it's better to fix it like this for now, as it is plaguing MRs with failures and long timeouts.