As Canada’s economy cools and interest rates remain elevated, Ottawa’s finances are looking increasingly precarious.