Event-Triggered Control of Nonlinear Systems with Time-Varying State Delays