Prince William kept his COVID-19 diagnosis a secret