The nation’s largest bank said it earned record trading profits in the first quarter but tempered expectations overall for its business.