Dallas Mavericks finalize deal for guard Delon Wright in sign-and-trade with Memphis