US stocks rise as investors weigh bank earnings and wholesale inflation data