Distribution of charge cumulants of a chaotic quantum dot with nonideal contacts