device: don't start connectivity check on unconnected devices
connectivity check does not need to check every interface, some interfaces are not connected to the Network cable or wifi, the device state is not NM_DEVICE_STATE_ACTIVATED, you can skip these interfaces, and also improve efficiency.