This is a backport of Core PR13417:
- Rescope g_enable_bip61 to net_processing
- [move-only] Move things only referenced in net_processing out of header file
- Restrict as much as possible in net_processing to translation unit
Mark everything else static or in an anonymous namespace.
- Make g_enable_bip61 a member variable of PeerLogicValidation