Prime Minister Mark Rutte's party has won more seats than any other in the Dutch general election, a result seen as a big setback to the far-right leader Geert Wilders.