NEW YORK — McDonald’s has seen a marketing resurgence in the past few years, partnering with a cadre of pop culture icons and courting favor with young consumer groups that once spurned its fast food.