Agents can conduct an extensive warrantless search of an individuals’ electronic devices at the U.S. border only if they have “reasonable suspicion” of criminal activity, a federal appeals court ruled Friday in a case that has potentially far-reaching implications for privacy and technology.