State estimation of state-dependent delay systems based on discretized switching model