gettxout supports only a single outpoint per call, requiring multiple RPC round trips to inspect all inputs of a transaction.
This PR changes gettxout to accept an array of {txid, vout} objects, processing them in a single pass and returning results aligned to the inputs.
This reduces latency, avoids redundant lookups, and improves throughput for batch use cases (e.g. wallets, indexers, transaction verification).
For simplicity, the changes are not backward compatible, but this can be adjusted based on review feedback.