This is not possible in general. The obstruction does not come from spaces that are not dual spaces, but from the spaces that appear in several different ways as dual spaces. Indeed, the restriction of the $\sigma(Y^*,Y)$-topology to the unit ball of $Y^*$ determines $Y$ uniquely : by the [Krein-Smulian theorem][1], $Y$ coincides with the subspace of elements of $(Y^*)^*$ whose restriction to the unit ball is $\sigma(Y^*,Y)$-continuous. In particular, if $X$ admits several preduals that are not isometrically isomorphic, then there are several non-comparable *maximal locally convex vector space topologies making the unit ball compact*, and there is no strongest such topology.

Having a unique predual is a somewhat exceptional situation (this is the case  for von Neumann algebras). The standard example of Banach space with many preduals is $\ell_1$. It has lots of very wild preduals, including the not-so-wild spaces $C(K)$ for $K$ countable and compact. Very concretely, two non-(isometrically isomorphic) preduals of $\ell_1$ are given by the space $c$ of converging sequences of complex numbers, and its subspace $c_0$ of sequences converging to $0$. See [this question][2]. See also the introduction to [this article][3] for more examples and references.


  [1]: https://en.wikipedia.org/wiki/Krein%E2%80%93Smulian_theorem
  [2]: https://math.stackexchange.com/questions/80727/are-these-two-banach-spaces-isometrically-isomorphic/80811#80811
  [3]: https://arxiv.org/abs/1101.5696