The toll of the Kremlin’s war in Ukraine and Western sanctions has hastened the decline in Russian oil production.