The lawsuit accused Musk of waiting too long to disclose that he had acquired more than a 5% stake in Twitter