Many saw Volodymyr Zelenskyy as an actor and political satirist who stumbled into Ukraine’s presidency. But the confrontation with Russia has turned him into a respected statesman.