The arrest violated Khalil’s constitutional rights to freedom of speech and due process, the lawmakers said.