Atiyah duality for differentiable stacks