He characterized his prosecution as politically motivated and an insult to a two-term leader who presided over an economic boom, left office with approval ratings of nearly 90 percent and helped raise Brazil’s standing on the world stage.