Pete Townshend began writing ‘My Generation’ as an anthem for his disaffected peers. Then the queen got involved.