Waits performed a pair of songs and recited poetry in an episode of The Human Factor, which tackled homelessness in the American South and aired earlier this year