When `-rpcclienttimeout=0` was provided, the default `libevent` timeout of 50 s was used, instead of no timeout as documented.
This change fixes it by setting timeout to 5 years when 0 is passed to `-rpcclienttimeout`.
This is a backport of Core [[https://github.com/bitcoin/bitcoin/pull/17131 | PR17131]]