Existence of weak solutions to a cross-diffusion Cahn-Hilliard type system