Local elections highlight the challenges facing the Russian leader