Bump qt_wallet
Ensure database is open before doing a lookup

Previously fetching an element from a closed database crashed.
Now it just throws an exception.