Offering $2.2 billion for Rapt Therapeutics Inc. and gaining its long-acting lead drug, ozureprubart, for food allergy and other indications, GSK plc is positioning itself to compete with market leader Xolair (omalizumab), developed by Roche AG’s Genentech unit and Novartis AG.