Among the information McDonald’s is releasing for the first time is a full breakdown of U.S. employees by race, ethnicity and gender, a victory for transparency advocates and investors increasingly pressing companies to do more to address the country’s deeply rooted social inequality.