The Russian president, having long taken credit for boom times and cultivated an image of prowess, finds himself unable to end the nation’s longest recession since he came to power.