A nation in retreat? Britain’s vast network of military bases proves the opposite