Buying a new car isn’t cheap these days. With both prices and interest rates climbing, choosing a model that will hold up over time matters more than ever.