A federal judge in San Francisco signed off on a court order for cellphone customer data, which was then used by FBI investigators to quietly justify the deployment of a powerful surveillance technology known as “stingrays,” privacy groups contend in a new court filing.