Employers and unions in the restaurant and hotel sectors have agreed average pay rises of around 5% to take effect in 2026.