The housing market is following a similar playbook from the 1980s when mortgage rates doubled. Here’s what it could mean for homebuyers today.