The 34th-ranked tennis player defeated Angelique Kerber to give her home country its first gold since it joined competition in 1948.