[bitcoin/bitcoin] Separate Contextual checks and handling & switch on enum in net_processing.cpp (#10145)

Closing for now. Let me know when you want to continue working on this