Text this: Semidefinite optimization over the space of polynomial norms and its invariant subspaces