LIDL: Local Intrinsic Dimension Estimation Using Approximate Likelihood