Control-informed geometric optimisation of wave energy converters