qa: Fix `wallet_multiwallet.py`
Fixes https://github.com/bitcoin/bitcoin/issues/31409.
The first commit prevents possible false positives by ensuring that each condition potentially causing the "Error scanning" log message is tested separately.
The second commit disables a problematic check on Windows.