Observer-Based Global Event-Triggered Control for a Class of Switched Nonlinear Systems