Mass assembly history and infall time of the Fornax dwarf spheroidal galaxy