If there were any doubts left about the strength of the U.S. consumer, Bank of America Corp.’s latest round of earnings should put those to rest. The bank on Wednesday announced a record second-quarter profit, with Chief Executive Officer Brian Moynihan crediting “solid consumer activity across the board...