Donald J. Trump, the former president and presumptive 2024 Republican nominee, was convicted on 34 felony counts of falsifying business records in a case stemming from a payment that silenced a porn star.