[net] Changes to RunInactivityChecks
Summary:
- rename to ShouldRunInactivityChecks
- take optional time now
- call from within InactivityChecks
- update comment
- change ordering of inequality
This is a backport of core#21198
Depends on D10954
Test Plan: ninja all check-all
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10955