While the city near the border with Switzerland draws a significant part of its income from tourism, the excesses of the industry, including packed beaches, long lines and a surge in Airbnb rentals, have increasingly frustrated residents.