WASHINGTON — The Supreme Court ruled Thursday that the 2016 publication of an Andy Warhol image of the singer Prince violated a photographer’s copyright, a decision a dissenting justice said would stifle the creation of art.The high court ruled 7-2 for photographer Lynn Goldsmith. “Lynn Goldsmith’s original works, like those of other photographers, are entitled to copyright protection, even against famous artists,” Justice Sonia Sotomayor wrote in the opinion for the court.In a dissent …