When your rent goes up, buying a home may look smart, but high prices and interest rates complicate the math. Here's when to ...