Emergence of $q$-statistical functions in a generalized binomial distribution with strong correlations