In a standout moment, Kenny Loggins performed “Footloose” on American Idol, thrilling both longtime fans and a younger national audience.