YouTube has agreed to pay $24.5 million to settle a lawsuit Trump brought against the platform after his account was suspended after Jan. 6 riots.