Representation, relaxation and convexity for variational problems in Wiener spaces