Apogee Enterprises, Inc., on Wednesday reported an increase in second-quarter revenue and earnings and raised its full-year outlook—news that sent the company’s stock price soaring 15 percent.