On the Gan-Gross-Prasad conjecture and its refinement for $\left(\mathrm{U}\left(2n\right),\mathrm{U}\left(1\right)\right)$