Text this: Hamilton–Jacobi method in non-minimal coupling inflation: metric vs. Palatini