Security forces in Bahrain have attacked demonstrators protesting the detention of Sheikh Ali Salman, the head of the country’s main opposition bloc.