A German court has dismissed a lawsuit by hedge funds seeking EUR1.36bn (GBP1.14bn) in damages from investment company Porsche SE.