In an inertial frame, the sail acceleration is $A$. [...] P Watts of photon power
... let's say "photon power, or wattage" of the source: $P_{\text{source}}$ ...
is beamed towards the sail
It seems therefore that you're thinking of a beam source which remains a member of an inertial frame, emitting a constant power beam (i.e. constant as judged by the frame members; not by the reflecting, accelerating sail).
the sail intercepts 100% of it, the sail has 100% reflectivity,
But not all of this power (or energy, received by the sail during some period) is "converted towards propulsion" of the sail and payload, increasing their kinetic energy with respect to the (members of the) inertial frame. Instead, the reflected beam shines with some finite (but varying) power, too, namely (again, as determined by members of the inertial frame):
$$P_{\text{refl}} := \left(\frac{1 - \beta}{1 + \beta}\right)~P_{\text{source}},$$
where the factor $\frac{1 - \beta}{1 + \beta}$ can be thought of as the product of two equal Doppler factors $\sqrt{\frac{1 - \beta}{1 + \beta}}$, and
$v = \beta~c$ is of course the speed of the sail as determined by the (members of the) inertial frame.
As far as, aside of the beam, there is no other "power source" supposed to contribute towards driving, or breaking, or otherwise affecting the spacecraft, therefore the "effective driving power" is
$$P_{\text{eff}} := P_{\text{source}} - P_{\text{refl}} = \left(\frac{2~\beta}{1 + \beta}\right)~ P_{\text{source}}.$$
Further, as far as the spacecraft mass $m$ remains constant throughout:
$$P_{\text{eff}} := \frac{d}{dt}[~\frac{m~c^2}{\sqrt{1 - \beta^2}}~] = m~c^2~\frac{d}{dt}[~\frac{1}{\sqrt{1 - \beta^2}}~] = m~c^2~\left(\frac{\beta}{(1 - \beta^2)^{(3/2)}}\right)~\frac{d}{dt}[~\beta~] \equiv m~c^2~\left(\frac{\beta}{(1 - \beta^2)^{(3/2)}}\right)~\frac{A}{c} = m~c~\left(\frac{\beta}{(1 - \beta^2)^{(3/2)}}\right)~A.$$
Consequently,
$$A = \frac{P_{\text{eff}}}{m~c}~\left(\frac{(1 - \beta^2)^{(3/2)}}{\beta}\right) = \frac{P_{\text{source}}}{m~c}~\left(\frac{2~\beta}{1 + \beta}\right)~\left(\frac{(1 - \beta^2)^{(3/2)}}{\beta}\right) = \frac{2~P_{\text{source}}}{m~c}~(1 - \beta)~\sqrt{1 - \beta^2}.$$
Finally:
$$\int dt = \frac{m~c^2}{2~P_{\text{source}}}~\int \frac{d\beta}{(1 - \beta)~\sqrt{1 - \beta^2}},$$
$$t = \frac{m~c^2}{2~P_{\text{source}}}~\left(\frac{1 + \beta}{\sqrt{1 - \beta^2}} - 1 \right),$$
$$\beta = 1 - \left(\frac{\left(\frac{m~c^2}{P_{\text{source}}}\right)^2}{\left(\frac{m~c^2}{2~P_{\text{source}}}\right)^2 + \left(\frac{m~c^2}{2~P_{\text{source}}} + t\right)^2}\right),$$
$$\int dx = c~\int dt \left(1 - \left(\frac{\left(\frac{m~c^2}{P_{\text{source}}}\right)^2}{\left(\frac{m~c^2}{2~P_{\text{source}}}\right)^2 + \left(\frac{m~c^2}{2~P_{\text{source}}} + t\right)^2}\right)\right),$$
$$x = c~t - \frac{m~c^3}{P_{\text{source}}}~\left(\text{ArcTan}[~\frac{m~c^2}{2~P_{\text{source}}} + \frac{t}{\frac{m~c^2}{2~P_{\text{source}}}}~] - \text{ArcTan}[~\frac{m~c^2}{2~P_{\text{source}}}~]\right).$$
The onboard acceleration experienced by the sail+payload is $a$. [...] since $a=\gamma^3~A$ [...]
Right. Therefore:
$$a = \frac{A}{(1 - \beta^2)^{(3/2)}} = \frac{2~P_{\text{source}}}{m~c}~\frac{(1 - \beta)~\sqrt{1 - \beta^2}}{(1 - \beta^2)^{(3/2)}} = \frac{2~P_{\text{source}}}{m~c}~\frac{1}{1 + \beta}.$$