Minimal controllability time for systems with nonlinear drift under a compact convex state constraint