Prince William just explained how he would react if his children came out as LGBTQ+