Simplify argument passing in period_helper
Orthogonal to #19540, though will need some small rebasing if/when that goes in.

Instead of passing `relation` argument all over the place, pass it once slightly earlier and make it part of `asfreq_info`.