Phase-resolved Higgs response in superconducting cuprates