Scots are being "priced out" of the housing market, Labour has said, after figures revealed one in four say they cannot afford to move to the place they would most like to live.