King Charles leaves hospital after prostate treatment