Closed Timelike Curves via Postselection: Theory and Experimental Test of Consistency