[token-server] Add function hasInputsFromOutputScript
Summary: Add a function to determine if a given tx includes inputs from a given outputScript
Test Plan: npm test
Reviewers: #bitcoin_abc, emack
Reviewed By: #bitcoin_abc, emack
Subscribers: emack
Differential Revision: https://reviews.bitcoinabc.org/D15625