Synchronization of Switched Neural Networks via Attacked Mode-Dependent Event-Triggered Control and Its Application in Image Encryption