Zero-temperature renormalization-group method for quantum systems. V. Frustration in two dimensions