Exponential Stability of Time-Switched Two-Subsystem Nonlinear Systems with Application to Intermittent Control