Text this: Non-perturbative topological string theory on compact Calabi-Yau manifolds from M-theory