A federal appeals court has upheld a judge’s order to bring a Turkish Tufts University student from a Louisiana immigration detention center back to New England for hearings to determine whether her rights were violated and if she should be released.