J.D. Wetherspoon has posted a fall in full-year net profit.