As a US court issues a decision on the dispute between the Andy Warhol Foundation and photographer Lynn Goldsmith, two lawyers explore past case studies in this legally controversial area