At the largest gathering of physicists in the world, the American Physical Society says it won’t back down in the face of executive orders to limit diversity programmes