Lattice Boltzmann simulations of droplet breakup in confined and time-dependent flows