A former in-house lawyer for Educational Alliance has sued the New York City nonprofit for discrimination and retaliation, alleging executives fired her for raising concerns about discriminatory pay policies that shaped her own salary and the pay of at least 50 other employees.