The Close Binary Fraction of Solar-type Stars Is Strongly Anticorrelated with Metallicity