Closed Geodesics in Dilation Surfaces