Former Wachtell Lipton partner Sabastian Niles earned $14.1 million in compensation in his first year as chief legal officer of Salesforce, according to a preliminary proxy statement filed late Thursday.