What right was deprived by the student receiving a failing grade?
Professor probably doesn't know the law exits. Otherwise, the professor may have avoided a hassle by at least giving paper a "See me" instead of meanly giving unprofessional, seemingly pro-LGBT, politically correct F to spite religious expression by a Christian.
You still have not answered, what part of the law you cited was broken by the professor issuing a failing grade?