An approximate threshold condition for non-autonomous system: An application to a vector-borne infection