Does using Beast Ball count as "taking a prize" for the purpose of calculating damage for Stakataka GX's "Assembly GX" attack?
No, it does not. You are switching cards, not taking a prize.
Source: TPCi Rules Team (2018-08-16)