Germany's Angelique Kerber has won her fourth WTA singles title of the year, beating Karolina Pliskova in the Bank of the West final at Stanford.