[cli_wallet] Add exit function to the wallet API
cli_wallet in hive is still missing exit
like function terminating the program in a nice, user-friendly way from cli.
Something similar was implemented in steem on Jan 28, 2020
This could also improve cli_wallet termination in test_tools