Sunshine, sandy beaches and endless open spaces—Mexico’s oceanside destinations are in hot demand. With travelers again on the move, the luxury real estate market, from Los Cabos to Todos Santos, Punta de Mita to Riviera Maya, is booming.