Maximizing the ratio of eigenvalues of non-homogeneous partially hinged plates