President Trump could win legal challenge to wall: political analyst