Josh Magennis gave Northern Ireland an unexpected lead away to the Netherlands - but the Dutch won the game 2-1 with two late goals.