El Salvador’s Nayib Bukele has won plaudits both at home and abroad for his indiscriminate security crackdown that has seen more than 1% of the country’s population put in prison.