PARIS—Government debt in several advanced economies is now at its highest level outside wartime, and emerging-market debt has been steadily rising...