Maersk said that the shipping giant expects to continue avoiding trade routes through the Red Sea into the second half of the year, a sign that ongoing tensions prompted by Houthi militants’ attacks in the region could pose longer-term challenges to the global shipping industry.