Theory of correlated insulating behaviour and spin-triplet superconductivity in twisted double bilayer graphene