A judge has declined to dismiss a lawsuit brought by a woman who was detained by ICE after flying to Boston to attend a Tall Ships event.