After American sanctions cut off one of its biggest markets, the Russian gun maker embarked on changes that executives say are yielding results.