Solitary waves in a lattice with competing interactions