Public admiration for the way one St. Louis prosecutor cleaned up the “boodlers” among city government paved the way for an impressive political career.