Owning real estate is one of the best ways to diversify your portfolio and build long-term wealth. How do you know when it’s time to sell?