Alex Hales pushed himself back into contention for the England Test side after an unbeaten 136 on day one for Nottinghamshire against Hampshire.