Measurement of the CP-violating phase ϕs from Bs0→J/ψπ+π− decays in 13 TeV pp collisions