I think you did the right thing. Leaving the kitten in the heat would have been horrible. Why would an owner leave the kitten like that anyway.

Hope the kitten will be happy with the new family!