Elon Musk’s X Corp. has agreed to try to settle claims by thousands of former Twitter employees who say they were cheated of severance pay when the billionaire laid them off after acquiring the social media platform last year, according to a memo by a lawyer …