The world’s top oil-producing nations and their allies resisted pressure from the United States on Thursday by announcing that they will not ramp up production, even in the face of the rising costs of crude and gasoline.