Director Danny Boyle has said his latest film 28 Years Later could be seen as an allegory for Brexit.