Archbishop Rozanski spoke out against the measure, which was challenged in a suit by state attorney general