David Hockney’s legacy lies not only in colour, pleasure and innovation, but in the way he challenged class prejudice, homophobia, ageism and...