Theory of ligand binding to heterogeneous receptor populations: Characterization of the free‐energy distribution function