Without mentioning his successor by name, the former president’s speech was peppered with criticism of Trump-era politics.