A German court has formally charged a Ukrainian ex-officer for the 2022 Nord Stream bombings, a landmark moment in the investigation into the Baltic Sea infrastructure attack.