In recent years, the district, which stretches along the state’s southern coast, has become one of the most competitive.