For much of the time since Nayib Bukele became president in 2019, El Salvador has teetered on the brink of default.