Carson Wentz agrees to 4-year contract extension with Eagles