The energy giant will sell its retail business in Russia to the country’s second-largest oil producer, Lukoil.