Replace the file-static s_sta_state with the shared sta_state_ member variable on WiFiComponent, matching the ESP8266 change. All accesses are in member functions so no global_wifi_component indirection is needed.