This is a follow up to D16937 adding a scripthash option to the utxos script endpoint.
This one was a bit trickier because we need to provide the script, which was previously built from the query itself. Now if the query passes a scripthash payload, we need to find it in the db and decompress it.
Depends on D17037