The new prime minister has revived the LDP, which had looked as if it might collapse. But if she wins this week’s elections, she will face harsh realities