An Alternating Trust-Region Newton Algorithm for Distributed Bound-Constrained Nonlinear Programs, Application to the Optimal AC Power Flow