No. If there is no other connection between the two transformers, no current can flow.
If the two have a common ground, and if that was the - of the first transformer and the + of the second, you would have 24V on the light. If the two minuses are connected together it will work, but what is the point of the question then since the light would be connected between the + and - of the first transformer.
Bob