Kosterlitz-Thouless scaling at many-body localization phase transitions