World number one Angelique Kerber withstood a brilliant comeback from Karolina Pliskova to claim the US Open title.