Polariton condensation in an optically induced two-dimensional potential