The 30-year Treasury yield surpassed 5.18%, its highest since 2007, as traders now price in a potential Fed rate hike amid sticky inflation.