Wright becomes Mets' RBIs leader in win over Miami