Stocks fell during Trump’s meeting with Zelensky Friday, but an afternoon rally led to solid gains by the end of the day.