CLN: remove from PeriodIndex.asfreq unnecessary raising ValueError for invalid period freq
xref #56945

removed from `PeriodIndex.asfreq` unnecessary raising ValueError for invalid period freq. Now we raise this ValueError for invalid period freq in `to_offset`.
@MarcoGorelli, could you please take a look at this PR?