Replace ReadTxIndex by ContainsTx in wallet.cpp.

Replace a call to ReadTxIndex by the "simpler" ContainsTx at one place
where this is all that is actually used.