preface: obviously i'm not a lawyer :)
but there's no employee/employer relationship, and i would never turn down a gig based on religion, gender, sexual preference, etc.
at least for me personally, it's never come up. it may also help that i rarely work with clients who live in the same country as i do (international law is typically too expensive to litigate for something as tiny as a freelancer saying no to work).