Influence of an embedded quantum dot on the Josephson effect in the topological superconducting junction with Majorana doublets