One of Oman’s main energy firms raised $244 million from the initial public offering of its oil-drilling unit, pulling off Muscat’s largest listing in more than a decade and drawing in Saudi Arabia’s wealth fund as an anchor investor.