Wave pattern induced by a localized obstacle in the flow of a one-dimensional polariton condensate