Currently listdescriptors RPC uses next key to represent WalletDescriptor::next_index while importdescriptors uses next_index. This creates two different descriptor formats.
This PR changes listdescriptors to use the same key as importdescriptors.