US inmate files lawsuit against jail over pornography ban