Political leaders in the democratic world are grappling with a difficult balancing act in a bid to contain the coronavirus: when to pull the trigger on measures like closing schools and canceling public gatherings without risking social and economic backlash?

Global health experts say China’s steps to quarantine cities and shut down schools...