device: don't start connectivity check on unconnected devices

Closed tk906328 requested to merge tk906328/NetworkManager:master into master

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.

Merge request reports