A Mass-dependent Slope of the Galaxy Size–Mass Relation out to z ∼ 3: Further Evidence for a Direct Relation between Median Galaxy Size and Median Halo Mass