Thousands in Madrid protest anti-LGBT proposal