Constraining the <i>z</i> ∼ 1 Initial Mass Function with HST and JWST Lensed Stars in MACS J0416.1−2403