Documents relating to Prince Harry’s US visa application have been unsealed in court – but with heavy redactions over fears he would be exposed to “harm and harassment”.