```
This PR adds inbound peer eviction criteria nLastBlockTime and
nLastTXTime to CNodeStats and CNode::copyStats, which then allows
exposing them in the next commit as last_transaction and last_block Unix
Epoch Time fields in RPC getpeerinfo.
```
Backport of [[https://github.com/bitcoin/bitcoin/pull/19731 | core#19731]].
Depends on D9324 and D9330.