Meta has agreed to pay $25 million to settle a lawsuit filed by President Donald Trump against the company after it suspended his accounts following the Jan. 6, 2021, attack on the Capitol.