Node state is intended to store validation related data that needs to be gated by cs_main. This not the case for the last poll time which is a network only data, so this is causing a cs_main locking for no benefit.
This diff move the last_poll attribute to the CNode itself. This doesn't require a lock as it's only accessed from the net thread.
There is no change in behavior.
Depends on D14548.