Doob’s maximal identity, multiplicative decompositions and enlargements of filtrations