Vafa–Witten Theory and Iterated Integrals of Modular Forms