Marked length rigidity for Fuchsian buildings