[backport#17237 1/2] wallet: Lock address type in ReserveDestination
Summary:
https://github.com/bitcoin/bitcoin/pull/17237/commits/55295fba4cbff36e9a8c3fed9c38e82ebe3c48b7
Partial backport of Core PR17237
Test Plan:
ninja check check-functional
Reviewers: #bitcoin_abc, jasonbcox, deadalnix
Reviewed By: #bitcoin_abc, jasonbcox, deadalnix
Subscribers: jasonbcox
Differential Revision: https://reviews.bitcoinabc.org/D7689