test: add BIP352 scanning to the functional test framework

bitcoin/bitcoin: PR #36835

The review is inconclusive; no findings were published.

Coverage details