From Rerum Novarum to Magnifica Humanitas, Leo XIII and Leo XIV push for worker power, shared ownership, and tighter rules on who controls new tech.