Potential nonrelativistic QCD and heavy quarkonium spectrum in next-to-next-to-next-to-leading order