test: interface_bitcoin_cli.py: check specified wallet type availability
test: interface_bitcoin_cli.py: check specified wallet type availability

Currently the test performs the wallet-relevant parts if
_any_ wallet type support is compiled in, independently of
whether the test is run with legacy or descriptor wallet
specified. This leads to a failure if the test is started
with the `--legacy-wallet` parameter, but bitcoind is
compiled without BDB support.

Fix this by checking if the specified wallet type (BDB for
legacy wallet, SQLite for descriptor wallet) is available.

bitcoinsSG/bitcoin,sstone/bitcoin,ajtowns/bitcoin,namecoin/namecoin-core,jamesob/bitcoin,sipsorcery/bitcoin,kallewoof/bitcoin,jamesob/bitcoin,bitcoinknots/bitcoin,domob1812/namecore,jlopp/statoshi,GroestlCoin/bitcoin,bitcoin/bitcoin,particl/particl-core,tecnovert/particl-core,fujicoin/fujicoin,pataquets/namecoin-core,fujicoin/fujicoin,jlopp/statoshi,andreaskern/bitcoin,fanquake/bitcoin,mruddy/bitcoin,dscotese/bitcoin,achow101/bitcoin,particl/particl-core,namecoin/namecore,Xekyo/bitcoin,namecoin/namecore,sipsorcery/bitcoin,Xekyo/bitcoin,tecnovert/particl-core,GroestlCoin/bitcoin,instagibbs/bitcoin,bitcoin/bitcoin,kallewoof/bitcoin,fanquake/bitcoin,bitcoinknots/bitcoin,mm-s/bitcoin,bitcoinsSG/bitcoin,fujicoin/fujicoin,kallewoof/bitcoin,namecoin/namecore,GroestlCoin/GroestlCoin,sipsorcery/bitcoin,lateminer/bitcoin,GroestlCoin/GroestlCoin,jambolo/bitcoin,mm-s/bitcoin,ajtowns/bitcoin,namecoin/namecore,bitcoin/bitcoin,domob1812/namecore,dscotese/bitcoin,domob1812/namecore,instagibbs/bitcoin,pataquets/namecoin-core,andreaskern/bitcoin,Xekyo/bitcoin,jambolo/bitcoin,namecoin/namecoin-core,sipsorcery/bitcoin,sstone/bitcoin,achow101/bitcoin,fanquake/bitcoin,fujicoin/fujicoin,achow101/bitcoin,jlopp/statoshi,GroestlCoin/bitcoin,andreaskern/bitcoin,AkioNak/bitcoin,bitcoinknots/bitcoin,domob1812/bitcoin,dscotese/bitcoin,kallewoof/bitcoin,mm-s/bitcoin,pataquets/namecoin-core,anditto/bitcoin,lateminer/bitcoin,mm-s/bitcoin,tecnovert/particl-core,kallewoof/bitcoin,bitcoinknots/bitcoin,sipsorcery/bitcoin,jamesob/bitcoin,AkioNak/bitcoin,ajtowns/bitcoin,andreaskern/bitcoin,particl/particl-core,AkioNak/bitcoin,jambolo/bitcoin,bitcoin/bitcoin,particl/particl-core,ajtowns/bitcoin,fanquake/bitcoin,bitcoinsSG/bitcoin,sstone/bitcoin,anditto/bitcoin,fujicoin/fujicoin,particl/particl-core,domob1812/namecore,dscotese/bitcoin,anditto/bitcoin,namecoin/namecoin-core,sipsorcery/bitcoin,tecnovert/particl-core,bitcoinknots/bitcoin,AkioNak/bitcoin,fujicoin/fujicoin,lateminer/bitcoin,pataquets/namecoin-core,jlopp/statoshi,bitcoinsSG/bitcoin,AkioNak/bitcoin,ajtowns/bitcoin,domob1812/bitcoin,tecnovert/particl-core,GroestlCoin/GroestlCoin,mruddy/bitcoin,particl/particl-core,anditto/bitcoin,tecnovert/particl-core,namecoin/namecoin-core,mruddy/bitcoin,pataquets/namecoin-core,lateminer/bitcoin,mm-s/bitcoin,instagibbs/bitcoin,ajtowns/bitcoin,namecoin/namecore,sstone/bitcoin,Xekyo/bitcoin,achow101/bitcoin,lateminer/bitcoin,GroestlCoin/bitcoin,GroestlCoin/GroestlCoin,domob1812/namecore,bitcoin/bitcoin,bitcoinsSG/bitcoin,mm-s/bitcoin,andreaskern/bitcoin,domob1812/bitcoin,instagibbs/bitcoin,sstone/bitcoin,Xekyo/bitcoin,domob1812/bitcoin,mruddy/bitcoin,fanquake/bitcoin,mruddy/bitcoin,pataquets/namecoin-core,jlopp/statoshi,namecoin/namecoin-core,fanquake/bitcoin,Xekyo/bitcoin,bitcoinsSG/bitcoin,jambolo/bitcoin,jambolo/bitcoin,anditto/bitcoin,namecoin/namecoin-core,instagibbs/bitcoin,mruddy/bitcoin,jamesob/bitcoin,domob1812/bitcoin,achow101/bitcoin,lateminer/bitcoin,anditto/bitcoin,domob1812/bitcoin,bitcoin/bitcoin,GroestlCoin/bitcoin,dscotese/bitcoin,namecoin/namecore,dscotese/bitcoin,AkioNak/bitcoin,jlopp/statoshi,GroestlCoin/bitcoin,sstone/bitcoin,jamesob/bitcoin,jamesob/bitcoin,achow101/bitcoin,GroestlCoin/GroestlCoin,domob1812/namecore,andreaskern/bitcoin,instagibbs/bitcoin,GroestlCoin/GroestlCoin,kallewoof/bitcoin,jambolo/bitcoin