Spontaneous breaking of flavor symmetry and parity in the Nambu-Jona-Lasinio model with Wilson fermions