Can you explain why the dog's life is in danger? Is the landlord failing to provide some service, or creating some danger that is putting the dog's life at risk?
I am saying that you must give 60 days notice if you want stop renting or at least pay the rent that would otherwise be payable in that 60 days. You can move anytime you want to.
No, you could not legally deduct costs of a kennel from your rent. But maybe the landlord would be willing to give you a reduction on your rent to account for that. Your legal rights here are not strong to insist or force anything to happen. But often two sides can agree on a compromise, as the landlord may see some value in keeping an existing tenant happy in allowing some small reduction in rent or so on, given that it is their work and their fault that you are going to face such inconvenience or cost. So it is worthwhile to ask them. But if they simply refuse and insist that you pay the full rent, and if they choose to actually pursue you if you move out without paying the next 60 days of rent, then I do not think you could succeed in court on the basis that you say your dog will die without AC. A court will likely say that you have options to avoid that, and it is not the contractual responsibility of the landlords.