[alias-server] match output scripts for p2pkh or p2sh registration address
Summary:
T3060
Depends on D13606
Remove hard-coded outputScript matcher used to parse valid alias txs.
Add unit tested function to get the desired outputScript from address.
Modify calls to functions with modified params.
Test Plan: npm test
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D13607