Fixes performance issue with txproposals

Avoid getting addresses from scripts (that's an expensive computation)
no sure I follow. This method is to query if an address is from the wallet, how is different from `addressIsOwn`? If it is now effective that the other, we need to replace it.