Writing that the law is “anything but clear” on whether a retaliatory investigation violates a clearly established right, a federal appeals court said qualified immunity must apply to a child-welfare investigator who allegedly retaliated against parents after they exercised their First Amendment rights.