A snapshot of a basketball game went viral this week, as social media users compared it with masterpieces in art history. Kelly Grovier asks why we are drawn to find those echoes.