No idea if this is true, but perhaps the term came about because composers, conductors, and musicians in the service of royal courts in the "Classical" period all wore long hair wigs during their performances. All the period paintings depicting the greats in the Classical period are shown in their formal court attire. Beethoven, at the advent of the Romantic era, appears with hair disheveled & au natural.