Detection of starquakes on the flare star AD Leo