[SB Refactor] Account for underlying wifi networks in old pipeline.

This makes `WifiStatusTracker`'s logic match the logic in
`ConnectivityRepositoryImpl`.

Bug: 225902574
Test: atest WifiStatusTrackerTest
Change-Id: I01a91e38c7b07c9891a47c4cec1ca7cabcae4f49
2 files changed