Say we have a rectangle with length $AB = CD = a$ and width $BC = DA = b$ and a quadrilateral $PQRS$ inscribed as shown in the diagram. Say, $ \, AP = x, AS = y$.

We reflect point $P$ through both $DA$ and $CB$. So,
$PA = AP'$ and $PB = BP"$. Now $\triangle APS \cong \triangle AP'S$ and that does not change even if we slide point $S$ on line $DA$ up or down.
Same is the case with $\triangle BPQ \cong \triangle BP''Q$.
$RS + SP = P'S + SR \ge P'R$.
The equality occurs when we slide point $S$ on line $DA$ such that $S$ falls on line $P'R$. We do it similarly for point $Q$ such that
$PQ + QR = P''R$.
So, perimeter of quadrilateral reduces to $P'R + RP''$.
The base of the triangle $P'P''R = P'A + AP + PB + BP" = 2 (AP + PB) = 2AB = 2a$.
The height of the triangle is $b$.
Now we know that for a given area of the triangle (fixed base and height), isosceles triangle has the minimum perimeter (we can in fact show that using reflection too).
So, $P'T = P''T = a$. That gives $P'R = P''R = \sqrt{a^2+b^2}$ and hence the minimum perimeter of the quadrilateral is $2\sqrt{a^2+b^2}$.
We can also show that $AS = CQ, AP = CR$ and that PQRS is a parallelogram.
As $\triangle P'SA \sim \triangle PRT$, $\displaystyle \frac{AS}{AP'} = \frac{RT}{P'T} \implies \frac{y}{x} = \frac {b}{a}$. Points P, Q, R, S must meet this condition ensuring parallelogram and for the quadrilateral perimeter to be minimum.
So, $x = \frac {a}{2}, y = \frac{b}{2}$ is definitely one of the solutions but is NOT the only solution.
EDIT:
Here is a diagram of quadrilateral with min perimeter inscribed in a rectangle but its vertices not at the midpoints of the rectangle. Please note it meets the ratio condition I mentioned and the angles above (parallelogram) and hence works.
