Russian judge who accepted anti-Putin lawsuit resigns