Barnes Group Inc.’s stock rose 2.7% early Monday, after the provider of engineered products and industrial technologies said it has reached an agreement to be acquired by funds of private-equity firm Apollo Global Management for $3.6 billion in cash.