The Two and a Half Men actress joined the royal family when she married Lord Frederick Windsor in 2009