After years of record-breaking sales, prices for homes priced over $1 million have started to soften. The shift reflects concern over the volatile stock market and a slowdown in interest from foreign buyers who’ve fueled demand.