toBleConnectionState
Maps Kable's State to Meshtastic's BleConnectionState.
Return
the mapped BleConnectionState, or null if the state should be ignored.
Parameters
hasStartedConnecting
whether we have seen a Connecting state. This is used to ignore the initial Disconnected state emitted by StateFlow upon subscription.