Brazil’s top court rejected a convicted ex-president’s petition to avoid jail time while he seeks reelection