The city of Louisville, Kentucky, can’t bar a photographer from limiting her wedding photography business to opposite-sex couples or from explaining why her religious beliefs compel her to turn down same-sex wedding assignments, a federal district court ruled Tuesday.