Marc Sneyd struck a drop goal in the 76th minute to clinch a nail-biting 19-18 victory for Hull FC over Leeds Rhinos.