Up to 35k can be rolled from a 529 to a Roth IRA. It is subject to the same annual limits and restriction on earned income.
Money for a wedding or house should not be in a 529 since there is no easy way to access it for those purposes.
Will you be 59.5 when your child is likely to get married and buy a house? Are you currently maxing out your Roth (IRA, mega-backdoor) space? I am saving the wedding/house fund in my own Roth space so I can hand it off easily without tax consequences.