GSK has struck a deal to buy Nuvalent for $10.6 billion, securing two near-approval cancer therapies that could challenge products from Roche, Pfizer and other drugmakers.