Health officials have warned for years about a growing syphilis epidemic, and 2022 had the highest numbers in decades.