O-Minimality in Hodge Theory and Moduli