Topological 2D string theory: Higher-genus amplitudes and W∞ identities