Follow-up to #32429, built on top of it.
This PR addresses the #32429 (review) that the RPC documentation does not use OUTPUT_TYPES, but rather hardcodes them, as is already the case for the getnewaddress command.
So here the output types are changed from std::string to std::string_view so that the values are known at compile time or during the early stages of program startup, before main() execution.
It also updates wallet/rpc/addresses.cpp to write the RPC docs according to OUTPUT_TYPES instead of using hardcoded version.
It also updates the documentation in outputtypes.h, adding Doxygen comments,