U.S. aerospace and defense company RTX raised its full-year earnings forecast and beat estimates for second-quarter profit on Thursday, aided by a rebound