Spain’s second city is luring new home buyers who like the city-and-surf lifestyle of the coastal metropolis.