Lockheed Martin’s stock led the S&P 500’s early decliners after a $1.6 billion charge led to a big profit miss.