Mapping the stellar age of the Milky Way bulge with the VVV I. The method