US top court backs Marvel in Spider-Man toy dispute