LikeDM: Likelihood calculator of dark matter detection