As tariffs squeeze margins and Barbie loses her shine, Mattel leans on Hot Wheels and Hollywood partnerships for momentum.