First-Order Definable Retraction Problems for Posets and Reflexive Graph