Re-add a function used by the libwallet URI parser

The libwallet URI parser needs to be identify characters as being base58 or not.
To avoid duplication of code, it makes sense to expose this from
libbitcoin's base58 utility file.