Is SegWit a step in the direction toward implementing pegged sidechains into Bitcoin? Is Segregated Witness a step in the direction toward implementing pegged sidechains into Bitcoin?
No.

Federated pegging solutions already exists, and some are being deployed in production. This approach relies on having a number of trusted parties that hold the pegged coins on the main chain side until they get pegged out from the sidechain again.

If you're talking about SPV merged-mined two-way pegged, SegWit does not matter. In this approach, the trusted federation is replaced with a hashrate majority signing off on transfers back. It requires support in the main chain for counting miner votes or support, and several proposals have been made. They are not part of SegWit, though.

The downside of the latter approach is that a hashrate majority on the main chain is always capable of stealing the sidechain's coins, as they could simply sign off on an unauthorized transfer. Technology exists (SNARKs) that could one day allow us to build a sidechain where the main chain can fully validate the sidechain's action, but right now, it is computationally infeasible to do so.