Move to check SIM application state

SIM state has some issue when SIM locked, use SIM application
state instead.
Also check SIM application state when getting CarrierConfig to avoid
persist incorrect CarrierConfig.

Bug: 189130077
Test: atest com.android.server.wifi
Change-Id: I6ee8f202cd608cc2e83c60df92ca910a2326070a
4 files changed