McDonald’s has set aspirational goals to increase the representation of women and underrepresented talent in leadership positions.