A Unifying Approximate Method of Multipliers for Distributed Composite Optimization