Minimal volume entropy of free-by-cyclic groups and 2-dimensional right-angled Artin groups