The Supreme Court’s conservative majority has ruled a Christian graphic artist who wants to design wedding websites can refuse to work with same-sex couples. The decision is a defeat for gay rights.