Self-heating hotspots in superconducting nanowires cooled by phonon black-body radiation