Nonholomorphic superpotentials in heterotic Landau-Ginzburg models