New Zealander Lydia Ko became the youngest winner of a major championship with victory in the Evian Championship.