The US President was greeted with whistles and jeers in New York after walking out to present Spain and Argentina with medals