Let $K(x)$ be the complete elliptic integral of the first kind with the following convention $$K(x):=\int_{0}^{\pi/2}\frac{\mathrm{d}\theta}{\sqrt{1-x\sin^{2}(\theta)}}.$$ For a research work, I would like to compute the Fourier-Legendre coefficients of $K(x)^{2}$, that is, integrals of the type $$\int_{0}^{1}K(x)^{2}P_{n}\left(2x-1\right)\mathrm{d}x$$ where $P_{n}(x)$ are the Legendre polynomials. For now, I'm only able to prove the following representation for odd $n$ $$\int_{0}^{1}K(x)^{2}P_{2k+1}(2x-1)\mathrm{d}x=\frac{1}{(2k+1)(k+1)}\,_{4}F_{3}\left(\left.{1,-k,k+\frac{3}{2},\frac{1}{2}\atop\frac{1}{2}-k,k+2,\frac{3}{2}}\right|1\right).$$ I tried to search some identities and to apply some classical results to this $_{4}F_{3}$ but I'm not able to find a closed form of such function (for closed form I intend some representation in terms of ratio of Gamma functions or in terms to functions strictly related to Gamma function).
So my question is:
does anyone know if this hypergeometric function admits a closed form?
Bonus question: for even $n$, for now, I have no idea to attack this problem, so any suggestions are welcome.
Let $f(n) = \int_0^1 K(x)^2 P_n(2x-1) dx$. It's well-known that $\int_0^1 x^n K(x)^2 dx \in \mathbb{Q} + \mathbb{Q}\zeta(3)$, so $f(n) \in \mathbb{Q} + \mathbb{Q}\zeta(3)$ as well, in particular $f(0) = \frac{7}{2}\zeta(3), f(1)=1$.
We prove below that $$\tag{$*$}-(n+1)^4 f(n)+(n+2)^4 f(n+2)-2 n-3=0$$ So this implies $f(2n+1)\in \mathbb{Q}$, already observed by OP.
Let $g(n)=f(2n+1), h(n) = f(2n)$, then \begin{aligned}-5-4n-16(1+n)^4 g(n) + (3+2n)^4 g(n+1) &= 0 \\ -3-4n-(2n+1)^4h(n)+(2+2n)^4h(n+1)&=0 \end{aligned}
For both difference equations, it can be proved they don't have hypergeometric solution, so in this sense, $f(n)$ and OP's $_4F_3$ $\color{red}{\text{have no closed-form}}$.
Since they're only of 1st order, we can still down $g(n), h(n)$ explicitly using a single summation:
$$f(2n) = \frac{\Gamma \left(n+\frac{1}{2}\right)^4}{16 \Gamma (n+1)^4}\sum _{m=0}^{n-1} \frac{(3+4 m) \Gamma (m+1)^4}{\Gamma \left(\frac{3}{2}+m\right)^4}+\frac{7 \zeta (3) \Gamma \left(n+\frac{1}{2}\right)^4}{2 \pi ^2 \Gamma (n+1)^4}$$
for $f(2n+1)$, it's essentially the terminating $_4F_3$ given by OP, so omitted here.
Proof of $(*)$: this is entirely algorithmic. Let $S_n$ be shift in $n$, i.e. $S_n f(n) = f(n+1)$ and $D_x$ be derivative.
Let $F(n,x) = K(x)^2 P_n(2x-1)$ and creative telescoping algorithm says for $G(n,x)$ equals $$G(n,x) = \left[-(2 (2 n+3) (x-1)^2 x^2) D_x^2 S_n + (2 n+3) (3 n+1) (x-1) x (2 x-1) D_x S_n - 3 (n+1) (2 n+3) (x-1) x D_x - 2 (2 n+3) \left(3 n^2+6 n+4\right) (x-1) x S_n \right] F(n,x)$$
we have $[(n+2)^4 S_n^2-(n+1)^4]F + D_x G = 0$ (which can be checked), so $$\begin{aligned} \left[(n+2)^4 S_n^2-(n+1)^4 \right] f(n) &= \int_0^1 [(n+2)^4 S_n^2-(n+1)^4] F(n,x) dx \\ &= -\int_0^1 D_x G(n,x) dx = -G(n,1)+G(n,0)\end{aligned}$$ which then easily computes to be $3+2n$, this proves $(*)$.