A320LGW, not entirely correct. As there is a difference between Max Endurance and Max Range.
With headwind, you would need to increase your speed slightly, to get the Max Range, but it would have to be calculated against the extra fuel burn. Compared to real life situation, it's a slightly nonsense question, as nobody would be sitting there calculating the Max Range speed with winds, and also in real life I haven't seen any performance graphs that have the wind as a factor, at least not in the Airbus FCOM / QRH
However Max Endurance would be to continue flying at minimum drag/lift ratio speed.
Depends what you want, stay longest possible time in air or longest distance.