Signs the inputs of the psbt where the keys are controlled by a Ledger
device.
signLedger can sign multiple inputs of the same wallet policy in a single
pass by grouping inputs by their wallet policy type before the signing
process.
The function will throw an error if it's unable to sign any input.
To be removed in v3.0 and replaced by a version that does not accept descriptors